Reducing Test Cases with Causality Partitions

نویسندگان

  • Haijun Wang
  • Xiaohong Guan
  • Qinghua Zheng
  • Ting Liu
  • Xiangyang Li
  • Lechen Yu
  • Zijiang Yang
چکیده

Automatic test case generation using symbolic execution suffers from the problem of path explosion: the number of paths to be explored may grow exponentially with the scale of a program. We believe that different paths may exhibit some similar program behaviors, thus it is unnecessary to explore all of the paths to generate test cases. In this paper, a novel model of program causality is proposed to extract all kinds of influences among statements of a program, which consists of four types of program dependencies. Then, a heuristic approach based on program causality is developed to selectively explore program paths in symbolic execution. We have implemented a prototype of our approach within the symbolic execution engine of Java Pathfinder. Experiments on six public benchmarks show that our approach can significantly reduce the number of explored paths and the symbolic execution time so that to improve the performance of test case generation. Keywords-Symbolic Execution; Causality Partition; Test Case Generation;

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Equivalence Class Partitions for Exhaustive Model-Based Testing

For safety-critical systems testing the justification of test case selections is mandatory. In the case of systems under test (SUT) with large data types (floats, doubles etc.) test cases are identified using the equivalence class partitioning principle. While this heuristic is useful for reducing the otherwise infeasible number of test cases to be performed, justification of the class partitio...

متن کامل

Generating Test Data from OCL Speci cation

A number of research focus on test cases and their generation from dynamic models. In this paper we propose an approach for generating test data for these tests, that we derive from formal constraints expressed in a static model. We show how the partition analysis of individual methods of classes can be automated, and how a valid sequence of a given method's class can be constructed. The partit...

متن کامل

Exploring the Trade Openness, Energy Consumption and Economic Growth Relationship in Iran by Bayer and Hanck Combined Cointegration and Causality Analysis

This paper aims to investigate the direction of causality between economic growth, energy consumption and trade openness in case of Iran for the period 1967–2012. We apply the newly developed combined cointegration test proposed by Bayer and Hanck (2013). Vector Error Correction Model (VECM) is applied to determine the direction of causality between these three variables. The result of Bayer-Ha...

متن کامل

Can three incongruence tests predict when data should be combined?

Advocates of conditional combination have argued that testing for incongruence between data partitions is an important step in data exploration. Unless the partitions have had distinct histories, as in horizontal gene transfer, incongruence means that one or more data support the wrong phylogeny. This study examines the relationship between incongruence and phylogenetic accuracy using three tes...

متن کامل

تحلیل علّیت همسان و ناهمسان رشد اقتصادی و صادرات در داده‌های تابلویی با روش دمترسکیو ‌ـ‌ هرلین

Export and economic growth are of those economic variables which have parallel behaviors with respect to one another. However there are different views regarding the causality between them. This paper attempts to test the causality between export and economic growth by referring to Dumitrescu and Hurlin (2012) test and data for 91 countries between 1980i-2012. To this end, Granger causality tes...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014